package BuSuper2;

public class PlayerCommandFactory extends AbstractCommandFactory {

	private Player player;
	public  PlayerCommandFactory(Player player) {
		this.player = player;
	}
	@Override
	public Command buildCommand(String cmd) {
		if(cmd.equalsIgnoreCase("ask")){
			return new AskCommand(player);
		}
		return null;
	}

}
